package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件函数对象 event_method
 *
 * @author elai
 * @date 2021-05-05
 */
public class EventMethodDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 函数名称 */
    @Excel(name = "函数名称")
    private String methodName;



    private String methodCode;

    /** 函数字符串 */
    @Excel(name = "函数字符串")
    private String methodStr;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String extra4;

    /** 是否启用Y启用N禁用 */
    @Excel(name = "是否启用Y启用N禁用")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setMethodName(String methodName)
    {
        this.methodName = methodName;
    }
    public String getMethodName()
    {
        return methodName;
    }

    public void setMethodStr(String methodStr)
    {
        this.methodStr = methodStr;
    }
    public String getMethodStr()
    {
        return methodStr;
    }

    public void setExtra1(String extra1)
    {
        this.extra1 = extra1;
    }
    public String getExtra1()
    {
        return extra1;
    }

    public void setExtra2(String extra2)
    {
        this.extra2 = extra2;
    }
    public String getExtra2()
    {
        return extra2;
    }

    public void setExtra3(String extra3)
    {
        this.extra3 = extra3;
    }
    public String getExtra3()
    {
        return extra3;
    }

    public void setExtra4(String extra4)
    {
        this.extra4 = extra4;
    }
    public String getExtra4()
    {
        return extra4;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
    public String getStatus()
    {
        return status;
    }

    public String getMethodCode() {
        return methodCode;
    }

    public void setMethodCode(String methodCode) {
        this.methodCode = methodCode;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("methodName", getMethodName())
            .append("methodStr", getMethodStr())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("status", getStatus())
            .toString();
    }
}
